<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2020/12/23
  Time: 21:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>推文详情</title>
    <link rel="stylesheet" href="../css/index.css"/>
    <link rel="stylesheet" href="../css/essayShow.css"/>
</head>
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../js/index.js"></script>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<% String path = request.getContextPath();%>
<body>

<div style="background-color: #F3F4F5;height: auto">
    <div class="row-fluid" style="overflow: hidden;">
        <div class="col-md-1"></div>
        <div class="col-md-6" id="essay_list"  style="margin-right: 50px">
            <div id="essayTop" style="margin-top: 40px">
                <div >
                    <h4>${essay.essay_title}</h4>
                </div>
                <div class="essayInfo" style="margin-top: 20px">
                    <span>${essay.essay_author}</span>
                    <span>${essay.essay_time}</span>
                </div>
                <div id="essayContent" style="white-space: pre-wrap;">
                    <p>${essay.essay_content}</p>
                </div>
                <a type="submit" class="btn btn-danger" href="<%=path%>/deleteEssay?id=${essay.essay_Id}">删除</a>
                <a type="submit" class="btn btn-warning" href="<%=path%>/checkEssayByName?title=${essay.essay_title}">修改</a>
            </div>
        </div>
    </div>
</div>
</body>
</html>
